#include <stdio.h>
int main() {
	char ch = 0;
	int val = 0;
	float fval = 0;
	scanf("%c%d%g", &ch, &val, &fval);
	printf("%c %d %g\n",ch, val, fval);
	sscanf("r 123 3.14","%c%d%g",&ch, &val, &fval);
	printf("%c %d %g\n",ch, val, fval);
	return 0;
}
